package com.turing.post.salesmanage.util;

import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 个人客户信息
 * 
 * @author zxppanda
 * 
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "PERSONALCUSTOM")
public class PersonalCustom implements java.io.Serializable {

	public static final String LOW_CUSTOM = "1";// 1 – 低风险客户
	public static final String MID_CUSTOM = "2";// 2 – 中风险客户
	public static final String HIGH_CUSTOM = "3";// 3 – 高风险客户

	/**
	 * 个人ID
	 */
	private BigInteger personalId;
	/**
	 * 发卡商NO
	 */
	private String issueCompanyNo;
	
	/**
	 * 职业id
	 */
	private BigInteger professionId;
	/**
	 * 证件类型
	 */
	private BigInteger idTypeId;
	/**
	 * 证件号
	 */
	private String idNo;
	/**
	 * 证件图片id
	 */
	private BigInteger idImageId;
	/**
	 * 国家-地区编码
	 */
	private String nationCodeId;
	/**
	 * 姓名
	 */
	private String name;
	/**
	 * 联系地址
	 */
	private String LinkAddr;
	/**
	 * 联系电话
	 */
	private String linkTel;
	/**
	 * eamil
	 */
	private String email;
	/**
	 * 邮政编码
	 */
	private String postCode;
	/**
	 * 录入操作员ID
	 */
	private BigInteger operId;
	/**
	 * 录入时间
	 */
	private Date createTime;
	/**
	 * 上次修改操作员id
	 */
	private BigInteger lastModifyOperId;
	/**
	 * 上次修改时间
	 */
	private Date lastModifyTime;
	/**
	 * 风险等级
	 */
	private String riskLevel;
	/**
	 * 备注
	 */
	private String remark;

	public PersonalCustom() {

	}

	@Id
	@Column(name = "PERSONALID")
	public BigInteger getPersonalId() {
		return personalId;
	}

	public void setPersonalId(BigInteger personalId) {
		this.personalId = personalId;
	}

	@Column(name = "ISSUECOMPANYNO")
	public String getIssueCompanyNo() {
		return issueCompanyNo;
	}

	public void setIssueCompanyNo(String issueCompanyNo) {
		this.issueCompanyNo = issueCompanyNo;
	}

	@Column(name = "professionId")
	public BigInteger getProfessionId() {
		return professionId;
	}

	public void setProfessionId(BigInteger professionId) {
		this.professionId = professionId;
	}

	@Column(name = "IDTYPEID")
	public BigInteger getIdTypeId() {
		return idTypeId;
	}

	public void setIdTypeId(BigInteger idTypeId) {
		this.idTypeId = idTypeId;
	}

	@Column(name = "IDNO")
	public String getIdNo() {
		return idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	@Column(name = "IDIMAGEID")
	public BigInteger getIdImageId() {
		return idImageId;
	}

	public void setIdImageId(BigInteger idImageId) {
		this.idImageId = idImageId;
	}

	@Column(name = "NATIONCODEID")
	public String getNationCodeId() {
		return nationCodeId;
	}

	public void setNationCodeId(String nationCodeId) {
		this.nationCodeId = nationCodeId;
	}

	@Column(name = "NAME")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "LINKADDR")
	public String getLinkAddr() {
		return LinkAddr;
	}

	public void setLinkAddr(String linkAddr) {
		LinkAddr = linkAddr;
	}

	@Column(name = "LINKTEL")
	public String getLinkTel() {
		return linkTel;
	}

	public void setLinkTel(String linkTel) {
		this.linkTel = linkTel;
	}

	@Column(name = "EMAIL")
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "POSTCODE")
	public String getPostCode() {
		return postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	@Column(name = "OPERID")
	public BigInteger getOperId() {
		return operId;
	}

	public void setOperId(BigInteger operId) {
		this.operId = operId;
	}

	@Column(name = "CREATETIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "LASTMODIFYOPERID")
	public BigInteger getLastModifyOperId() {
		return lastModifyOperId;
	}

	public void setLastModifyOperId(BigInteger lastModifyOperId) {
		this.lastModifyOperId = lastModifyOperId;
	}

	@Column(name = "LASTMODIFYTIME")
	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	
	@Column(name = "riskLevel")
	public String getRiskLevel() {
		return riskLevel;
	}

	public void setRiskLevel(String riskLevel) {
		this.riskLevel = riskLevel;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}